package com.ruiysoft.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruiysoft.crm.mapper.BizCarInfoMapper;
import com.ruiysoft.crm.model.entity.BizCarInfo;
import com.ruiysoft.crm.service.BizCarInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author fanyl
 */
@Service
public class BizCarInfoServiceImpl extends ServiceImpl<BizCarInfoMapper, BizCarInfo> implements BizCarInfoService {

    private final BizCarInfoMapper bizCarinfoMapper;

    public BizCarInfoServiceImpl(BizCarInfoMapper bizCarinfoMapper) {
        this.bizCarinfoMapper = bizCarinfoMapper;
    }

    @Override
    public boolean removeByClientIds(List<Integer> clientIds) {
        return bizCarinfoMapper.removeByClientIds(clientIds);
    }
}